package com.annchain.og_browser.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
public class BusinessException extends RuntimeException {
    private static final long serialVersionUID = -6370612186038915645L;
    private final StatusCode response;
    public BusinessException(StatusCode response) {
        this.response = response;
    }
    public StatusCode getResponse() {
        return response;
    }

}
